package com.cc.visitor.entity.wechat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 关注用二维码，创建二维码时用到，日后可追溯二维码的使用情况
 * @author chanchaw
 * @create 2024-11-30 9:11
 */
public class FollowQr implements Serializable {
    private static final long serialVersionUID = 1L;
    private String site;// 二维码所在场所，实现同一个功能的二维码所在场地不同
    private String createUser;// 创建人
    private LocalDateTime createTime;// 创建时间，要求格式是：2024-11-30 09:16:42
    private Integer roleType;// 场景值，有实际业务意义的数据。其他属性都是用于描述二维码本身

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    @Override
    public String toString() {
        return "FollowQr{" +
                "site='" + site + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", roleType=" + roleType +
                '}';
    }

    public FollowQr() {
    }

    public FollowQr(String site, String createUser, LocalDateTime createTime, Integer roleType) {
        this.site = site;
        this.createUser = createUser;
        this.createTime = createTime;
        this.roleType = roleType;
    }
}
